import { defineStore } from 'pinia'
import { reactive } from 'vue'

export const useLayoutStore = defineStore('layout', () => {
  const menuList = reactive([{
      path: '/department',
      component: 'LayoutView',
      name: 'department',
      meta: {
        title: '部门管理'
      }
    }, {
      path: '/employee',
      component: 'LayoutView',
      name: 'employee',
      meta: {
        title: '员工管理'
      }
    }]
  )
  return {
    menuList
  }
})
